{extend name="layout/base" /}

{block name="title"}入驻人联系方式 - 商家入驻 - {mall:config name="mall.sitename"/}{__block__}{/block}

{block name="meta"}
{__block__}
<link rel="stylesheet" href="__ADDON__/__STYLE__/css/shopapply.css">
<link rel="stylesheet" href="__CDN__/assets/libs/nice-validator/dist/jquery.validator.css">
{/block}

{block name="main"}
<div class='container'>
    <div id="stepflex" class="stepflex">
        <dl class="first doing">
            <dt class="s-num">1</dt>
            <dd class="s-text">签订入驻协议</dd>
            <dd></dd>
        </dl>
        <dl class="normal doing">
            <dt class="s-num">2</dt>
            <dd class="s-text">入驻人联系方式</dd>
            <dd></dd>
        </dl>
        <dl class="normal">
            <dt class="s-num1">3</dt>
            <dd class="s-text1">公司证照信息</dd>
        </dl>
        <dl class="normal">
            <dt class="s-num1">4</dt>
            <dd class="s-text1">财务及基本信息</dd>
        </dl>
        <dl class="normal">
            <dt class="s-num1">5</dt>
            <dd class="s-text1">店铺信息</dd>
        </dl>
        <dl class="last">
            <dt class="s-num1">6</dt>
            <dd class="s-text1">入驻审核</dd>
        </dl>
    </div>
    <div class='mall-clear'></div>
    <div class='main-head'>入驻人联系方式</div>
    <div class='apply-box'>
        <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST"
              action="/addons/mall/shop/joinstep2">
            {:token()}
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-3">{:__('Applylinkman')}:</label>
                <div class="col-xs-12 col-sm-7">
                    <input id="c-applyLinkMan" class="form-control" name="row[applyLinkMan]" type="text"
                           value="{$apply.applyLinkMan}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-3">{:__('Applylinktel')}:</label>
                <div class="col-xs-12 col-sm-7">
                    <input id="c-applyLinkTel" class="form-control" name="row[applyLinkTel]" type="text"
                           value="{$apply.applyLinkTel}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-3">{:__('Applylinkemail')}:</label>
                <div class="col-xs-12 col-sm-7">
                    <input id="c-applyLinkEmail" class="form-control" name="row[applyLinkEmail]" type="text"
                           value="{$apply.applyLinkEmail}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-3">{:__('Isinvestment')}:</label>
                <div class="col-xs-12 col-sm-7">
                    <label>
                        <input type='radio' name='row[isInvestment]' id='isInvestment-1' value='1'
                               onclick='javascript:showHide(1,"#investmentStaffTr")' {if $apply['isInvestment']==1}checked{/if}/>有
                    </label>
                    <label>
                        <input type='radio' name='row[isInvestment]' id='isInvestment-0' value='0'
                               onclick='javascript:showHide(0,"#investmentStaffTr")' {if $apply['isInvestment']==0}checked{/if}/>无
                    </label>
                    如果没有联系过商城招商人员请选择“无”。

                </div>
            </div>
            <div class="form-group" id="investmentStaffTr" style="display:{if !$apply['isInvestment']}none{/if}">
                <label class="control-label col-xs-12 col-sm-3">{:__('Investmentstaff')}:</label>
                <div class="col-xs-12 col-sm-7">
                    <input id="c-investmentStaff" class="form-control" name="row[investmentStaff]" type="text"
                           value="{$apply.investmentStaff}">
                </div>
            </div>
            <div class="form-group layer-footer agreement-bottom">
                <label class="control-label col-xs-12 col-sm-2"></label>
                <div class="col-xs-12 col-sm-8">
                    <button onclick='javascript:location.href="/addons/mall/shop/joinstep1"' type="reset" class="btn btn-default btn-embossed">上一步</button>
                    <button onclick='javascript:location.href="/addons/mall/shop/joinstep3"' type="submit" class="btn btn-success btn-embossed disabled">下一步</button>
                </div>
            </div>
        </form>
    </div>
</div>
{/block}

{block name="js"}
{__block__}
{/block}
